package com.stx.blog.service;

import java.util.List;

import com.stx.blog.vo.ArticleVo;
import com.stx.blog.vo.BcategoryVo;
import com.stx.blog.vo.UserVo;

public interface ArticleService {

	List<BcategoryVo>findBcategory(UserVo uv);
	void addBcategory(BcategoryVo bv);
	//修改通过id
	void delBcategory(BcategoryVo bv);
	/**
	 * 博文的操作
	 * @param av
	 */
	 void addArticle(ArticleVo av);
	//得到博文列表
	List<ArticleVo>findArticle(UserVo uv);
	//删除博文通过id
	void delArticle(ArticleVo av);
	//修改博文
	void updateArticle(ArticleVo av);
	//得到单片博文
	ArticleVo getArticle(ArticleVo av);
}
